package com.daoxiang.service;

import com.daoxiang.pojo.Goods;
import java.util.List;

public interface GoodsService {
    List<Goods> queryGoods(Goods goods);

    List<Goods> queryGoodsByKey(String gname);

    int updateGoodById(Goods goods);

    int deleteGoodById(Integer gid);

    int insertGood(Goods goods);

    // wml
    List<Goods> queryGoodsByName(String searchValue);
}
